from mathml_to_latex.converter import MathMLToLaTeX


def mathml2latex(mathml_str):
    return MathMLToLaTeX().convert(mathml_str)

if __name__ == '__main__':
    mathml = """
    <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"><mml:mfrac><mml:mrow /><mml:mrow /></mml:mfrac></mml:math>
    
    """
    res = mathml2latex(mathml)
    print(res)